Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better parser #102

Merged
merged 30 commits into from
Jun 26, 2021
Merged

Better parser #102

merged 30 commits into from
Jun 26, 2021

Conversation

AlecAivazis
Copy link
Collaborator

@AlecAivazis AlecAivazis commented Jun 23, 2021

After struggling for a long time to get the svelte preprocessor infrastructure from #101 working, I decided to flesh out the custom parser to isolate only the top-level scripts for a document's module and instance scripts.

@thormuller @georgecrawford @pixelmund - mind running your application with these changes and see if anything pops up? I tried to add tests for as many weird edge cases as I could but i'm sure I'm missing something.

it is available as version 0.7.2-rc.4 which should be tagged with @next

fixes #100

@AlecAivazis AlecAivazis mentioned this pull request Jun 23, 2021
@AlecAivazis AlecAivazis merged commit 7b4c4c5 into main Jun 26, 2021
@AlecAivazis AlecAivazis deleted the svelte-parser branch June 26, 2021 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error parsing svelte:head
1 participant